<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SA-PCB: board Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SA-PCB
   </div>
   <div id="projectbrief">Annealing-basedPCBplacementtool</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">board Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a11900af14cd17b8099719bb4215c488f"><td class="memItemLeft" align="right" valign="top"><a id="a11900af14cd17b8099719bb4215c488f"></a>
def&#160;</td><td class="memItemRight" valign="bottom"><b>init</b> ()</td></tr>
<tr class="separator:a11900af14cd17b8099719bb4215c488f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68017f7761a64cc4abdc69fdb0a11d48"><td class="memItemLeft" align="right" valign="top"><a id="a68017f7761a64cc4abdc69fdb0a11d48"></a>
def&#160;</td><td class="memItemRight" valign="bottom"><b>animate</b> (i)</td></tr>
<tr class="separator:a68017f7761a64cc4abdc69fdb0a11d48"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a306aee17bb9b0214e053885fb18288da"><td class="memItemLeft" align="right" valign="top"><a id="a306aee17bb9b0214e053885fb18288da"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>directory</b> = os.fsencode('./cache_rudy/')</td></tr>
<tr class="separator:a306aee17bb9b0214e053885fb18288da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4667dbd68dd2607c1f9db056da51c797"><td class="memItemLeft" align="right" valign="top"><a id="a4667dbd68dd2607c1f9db056da51c797"></a>
list&#160;</td><td class="memItemRight" valign="bottom"><b>routabilities</b> = []</td></tr>
<tr class="separator:a4667dbd68dd2607c1f9db056da51c797"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2c5af12eff589209f221b163c68dfec"><td class="memItemLeft" align="right" valign="top"><a id="ae2c5af12eff589209f221b163c68dfec"></a>
list&#160;</td><td class="memItemRight" valign="bottom"><b>fnames</b> = []</td></tr>
<tr class="separator:ae2c5af12eff589209f221b163c68dfec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab46329dafcf204faeb6ae7d0917291d7"><td class="memItemLeft" align="right" valign="top"><a id="ab46329dafcf204faeb6ae7d0917291d7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>mat</b> = pd.read_table('./cache_rudy/'+str(ff),sep='\t',header=None).values[:,:-1]</td></tr>
<tr class="separator:ab46329dafcf204faeb6ae7d0917291d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a870d8a1cf634cf8831d845c3b35616b6"><td class="memItemLeft" align="right" valign="top"><a id="a870d8a1cf634cf8831d845c3b35616b6"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>nx</b></td></tr>
<tr class="separator:a870d8a1cf634cf8831d845c3b35616b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaac16905f4db89a47ce828de31859eda"><td class="memItemLeft" align="right" valign="top"><a id="aaac16905f4db89a47ce828de31859eda"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ny</b></td></tr>
<tr class="separator:aaac16905f4db89a47ce828de31859eda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb13f7e3f445c8edefcc923db552fba0"><td class="memItemLeft" align="right" valign="top"><a id="aeb13f7e3f445c8edefcc923db552fba0"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>nrows</b></td></tr>
<tr class="separator:aeb13f7e3f445c8edefcc923db552fba0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7575655aaaa34b5397fb4d7f77d6efff"><td class="memItemLeft" align="right" valign="top"><a id="a7575655aaaa34b5397fb4d7f77d6efff"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ncols</b></td></tr>
<tr class="separator:a7575655aaaa34b5397fb4d7f77d6efff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ababe898ec04ddcc52824a998326e918c"><td class="memItemLeft" align="right" valign="top"><a id="ababe898ec04ddcc52824a998326e918c"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>gridspec_kw</b></td></tr>
<tr class="separator:ababe898ec04ddcc52824a998326e918c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fe87ca4cc9d417aa469b4a2d5d400bc"><td class="memItemLeft" align="right" valign="top"><a id="a0fe87ca4cc9d417aa469b4a2d5d400bc"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>anim</b> = animation.FuncAnimation(fig, animate, init_func=init, frames=None, repeat=False)</td></tr>
<tr class="separator:a0fe87ca4cc9d417aa469b4a2d5d400bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adab8c8db16ead918a6e3ff35d3d709ef"><td class="memItemLeft" align="right" valign="top"><a id="adab8c8db16ead918a6e3ff35d3d709ef"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>wl</b> = open('wl.txt').read().splitlines()</td></tr>
<tr class="separator:adab8c8db16ead918a6e3ff35d3d709ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad62590ffe908dea4c487e3a286f8b822"><td class="memItemLeft" align="right" valign="top"><a id="ad62590ffe908dea4c487e3a286f8b822"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>oa</b> = open('oa.txt').read().splitlines()</td></tr>
<tr class="separator:ad62590ffe908dea4c487e3a286f8b822"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a335b9b157390197a44f78943feb606b6"><td class="memItemLeft" align="right" valign="top"><a id="a335b9b157390197a44f78943feb606b6"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>cost</b> = open('cost.txt').read().splitlines()</td></tr>
<tr class="separator:a335b9b157390197a44f78943feb606b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa717f27404e2cf6a1e122d946098a76"><td class="memItemLeft" align="right" valign="top"><a id="aaa717f27404e2cf6a1e122d946098a76"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ar</b> = open('accept_ratio.txt').read().splitlines()</td></tr>
<tr class="separator:aaa717f27404e2cf6a1e122d946098a76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c5ee7704129debb898b775f31ada1b5"><td class="memItemLeft" align="right" valign="top"><a id="a0c5ee7704129debb898b775f31ada1b5"></a>
dictionary&#160;</td><td class="memItemRight" valign="bottom"><b>report_dict</b> = {'wirelength':wl, 'overlap':oa, 'cost':cost, 'acceptance ratio':ar}</td></tr>
<tr class="separator:a0c5ee7704129debb898b775f31ada1b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aea7ba7e677a8fdc64042f37aee374e"><td class="memItemLeft" align="right" valign="top"><a id="a4aea7ba7e677a8fdc64042f37aee374e"></a>
string&#160;</td><td class="memItemRight" valign="bottom"><b>circuitname</b> = './bm3'</td></tr>
<tr class="separator:a4aea7ba7e677a8fdc64042f37aee374e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec341dbf9d18e85f0bd8b26417eabee2"><td class="memItemLeft" align="right" valign="top"><a id="aec341dbf9d18e85f0bd8b26417eabee2"></a>
string&#160;</td><td class="memItemRight" valign="bottom"><b>nodesfile</b> = circuitname + '.nodes'</td></tr>
<tr class="separator:aec341dbf9d18e85f0bd8b26417eabee2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89c59b1f0732c62a0433cbecd0bac6ee"><td class="memItemLeft" align="right" valign="top"><a id="a89c59b1f0732c62a0433cbecd0bac6ee"></a>
string&#160;</td><td class="memItemRight" valign="bottom"><b>netsfile</b> = circuitname + '.nets'</td></tr>
<tr class="separator:a89c59b1f0732c62a0433cbecd0bac6ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa98112d6d4938cf5536fffd2d7404f15"><td class="memItemLeft" align="right" valign="top"><a id="aa98112d6d4938cf5536fffd2d7404f15"></a>
dictionary&#160;</td><td class="memItemRight" valign="bottom"><b>board_pins</b> = {}</td></tr>
<tr class="separator:aa98112d6d4938cf5536fffd2d7404f15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a896923728c9df86491c1380a9e9b97bc"><td class="memItemLeft" align="right" valign="top"><a id="a896923728c9df86491c1380a9e9b97bc"></a>
list&#160;</td><td class="memItemRight" valign="bottom"><b>placements</b> = []</td></tr>
<tr class="separator:a896923728c9df86491c1380a9e9b97bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a7b520cb43af05b7ca11e2a8e33e83d"><td class="memItemLeft" align="right" valign="top"><a id="a8a7b520cb43af05b7ca11e2a8e33e83d"></a>
list&#160;</td><td class="memItemRight" valign="bottom"><b>board_dim</b> = [[-5,60],[-5,50]]</td></tr>
<tr class="separator:a8a7b520cb43af05b7ca11e2a8e33e83d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><pre class="fragment">///////////////////////////////////////////////////////////////////////////////
// Authors: Chester Holtz, Devon Merrill, James (Ting-Chou) Lin, Connie (Yen-Yi) Wu
//          (respective Ph.D. advisors: Chung-Kuan Cheng, Andrew B. Kahng, Steven Swanson).
//
// BSD 3-Clause License
//
// Copyright (c) 2018, The Regents of the University of California
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice, this
//   list of conditions and the following disclaimer.
//
// * Redistributions in binary form must reproduce the above copyright notice,
//   this list of conditions and the following disclaimer in the documentation
//   and/or other materials provided with the distribution.
//
// * Neither the name of the copyright holder nor the names of its
//   contributors may be used to endorse or promote products derived from
//   this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
///////////////////////////////////////////////////////////////////////////////
</pre> </div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
